<template>
  <div class="header">
    <h1>宿舍管理系统</h1>
    <nav>
      <router-link to="/">首页</router-link> |
      <router-link to="/students">学生管理</router-link> |
      <router-link to="/dormitories">宿舍管理</router-link> |
      <router-link to="/allocation">宿舍分配</router-link>
    </nav>
  </div>
</template>

<script>
export default {
  name: 'Header'
}
</script>

<style scoped>
.header {
  background-color: #409EFF;
  padding: 20px;
  color: white;
  text-align: center;
}
</style>